#ifndef FBRESTORE_H
#define FBRESTORE_H

#include <QtCore>
#include <stdio.h>
#include <string.h>
#include <ibase.h>

class FBRestore: public QThread
{
Q_OBJECT

public:

FBRestore();
~FBRestore();
void run();

public slots:

void set_config(QString back_file_,
                QString out_file_,
                QString user_,
                QString pass_,
                QString serv_name_,
                bool verbose_);

signals:

void log_line(QString s);

private:

QByteArray back_file_ba;
QByteArray out_file_ba;
QByteArray user_ba;
QByteArray pass_ba;
QByteArray serv_name_ba;
bool verbose;
char * back_file;
char * out_file;
char * user;
char * pass;
char * serv_name;
};

#endif // FBRESTORE_H
